import openai

openai.api_key = 'sk-XvsC4p6KC56kBJTxKplhFmEq855IL4Eeek5GFzUcxrwD4p2n'

openai.base_url = "https://api.proxyxai.com"

completion = openai.chat.completions.create(
    model="gpt-3.5-turbo",
    messages=[
        {
            "role": "user",
            "content": "杭州都有哪些美景",
        },
    ],
)
print(completion.choices[0].message.content)
